export default (fieldType) => {
    const [htmltype, type] = fieldType;
    if (htmltype === 'input' || htmltype === 'select') {
        return type;
    } else if (htmltype === 'check') {
        return htmltype;
    } else if (htmltype === 'browser') {
        return `browser${type.value}`;
    }
    return undefined;
}